package com.douxg.learning.spring.bean;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Auther douxg
 * @Date 2021/4/22 10:07
 */
@Component
@Data
public class BeanOne {
    @Value("${one:6}")
    private Integer a;

    public void run() {
        System.out.println("one");
    }
}
